package it.polimi.reTravelDream.beans;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.faces.bean.SessionScoped;


@ManagedBean (name="personalization")
@SessionScoped

public class PersonalizationBean {
		
		private int id;
		
		public String personalizePackage(int id){
			this.id=id;
			 return "/personalization?faces-redirect=true";
		}
		
		public int getId() {
			return id;
		}
		public void setId(int id) {
			this.id = id;
		}	
}
